package pl.com.like.sequoia.biojava.util;

import java.io.File;

import pl.com.like.sequoia.exceptions.LogicalException;
import pl.com.like.sequoia.model.bio.enums.FileTypeEnum;

/**
 * Class generates filepaths for new files
 * 
 * @author Pawel Wolanski
 * 
 */
public interface IDirHelper {

	/**
	 * Create file in application download directory
	 * 
	 * @param name id of file which should be downloaded
	 * @param fileType file type of downloaded file
	 * @return {@link File} handler to already created file
	 * @throws LogicalException
	 */
	public File createDestFile(String name, FileTypeEnum fileType) throws LogicalException;

	public String getFilePath(String name, FileTypeEnum fileType) throws LogicalException;

	public abstract String getSysSep();

}